# @author: Yxinmiracle
# @project: Python_w
# @file: config.py
# @time: 2020/5/17 8:40

WOFF_FILE_NAME = 'file.woff'
XML_NAME = 'moive.xml'
HOST = "https://www.shixiseng.com/" # 实习僧主站
RE_RULE = "&#x(?:.*?\w){4}"

headers = {
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36',
    "cookie":'__jsluid_s=da9f0eff28626c6087cb735553ee61a5; gr_user_id=14d971ef-ddbf-4efe-8a0d-7e5446dd1c88; MEIQIA_TRACK_ID=1YKWRbSkj3eTKrsNwjVXB4sqFyE; SXS_XSESSION_ID="2|1:0|10:1589634248|15:SXS_XSESSION_ID|48:ZDhjNmIzZDUtMzA3OC00ZDQyLWFhMWEtODc0YmJhZDEyZDUx|bebeeeef5dc0b795520c7b7dc898c06eeba115c482fa8d53ad73366d3231fe51"; SXS_XSESSION_ID_EXP="2|1:0|10:1589634248|19:SXS_XSESSION_ID_EXP|16:MTU4OTcyMDY0OA==|e1216bbcd921db95a33deeda30dd39946ec612ffd99a1d5ffe829a113389630a"; uuid=1df4bdb5-53db-0aff-b7c8-02f886a759c5; search=; gr_session_id_96145fbb44e87b47=3defc707-b9e8-4524-b529-1004925c7dd7; gr_cs1_3defc707-b9e8-4524-b529-1004925c7dd7=user_id%3Anull; gr_session_id_96145fbb44e87b47_3defc707-b9e8-4524-b529-1004925c7dd7=true; Hm_lvt_03465902f492a43ee3eb3543d81eba55=1588134045,1588156802,1589634247,1589639076; MEIQIA_VISIT_ID=1bzdx2Ezc27MpdbdlGmiMK4VF7c; uid1=c2de3a25-35ee-0bbe-a8f2-4b00a1630584; uid2=1ae3098d-6da5-fe24-bd3c-973ee5a3b0f8; SXS_VISIT_XSESSION_ID_V3.0="2|1:0|10:1589639100|26:SXS_VISIT_XSESSION_ID_V3.0|48:NDNhMjUwOTQtY2U1Ni00YjdhLWEzODktZjIzZjc0MDVmNDg3|13a41511d7c55bbc4f99f601c82962a7387749ee0cbbbae683561116b9533afb"; SXS_VISIT_XSESSION_ID_V3.0_EXP="2|1:0|10:1589639100|30:SXS_VISIT_XSESSION_ID_V3.0_EXP|16:MTU5MjIzMTEwMA==|54b550bd9636e0c80f8593fe1e0e70062f913e5800cd46af4f6e7587fb59ec65"; Hm_lpvt_03465902f492a43ee3eb3543d81eba55=1589639096',
}

font_dict = {
    (0, 410): "0",
    (-888, 0): "1",
    (-942, 0): "2",
    (159, -123): "3",
    (-198, 0): "4",
    (156, -102): "5",
    (-121, 62): "6",
    (-606, -1481): "7",
    (-277, 129): "8",
    (128, -74): "9",
    (-221, 0): "A",
    (0, 1549): "B",
    (-171, -90): "C",
    (0, 1549): "D",
    (-833, 0): "E",
    (-598, 0): "F",
    (-232, -132): "G",
    (-200, 0): "H",
    (-149, 0): "I",
    (1988, 0): "一",
    (1676, 0): "三",
    (182, 0): "个",
    (1632, 0): "二",
    (1355, 0): "互",
    (466, 0): "五",
    (872, 504): "人",
    (694, 0): "件",
    (290, -258): "会",
    (266, 364): "作",
    (0, -281): "J",
    (-274, 0): "K",
    (-817, 0): "L",
    (0, 1026): "M",
    (-237, 0): "N",
    (0, 375): "O",
    (0, -579): "P",
    (-73, -23): "Q",
    (-236, 0): "R",
    (-152, 0): "前",
    (71, -62): "S",
    (-447, 0): "T",
    (1422, 0): "吿",
    (0, -508): "周",
    (0, -657): "U",
    (-569, -1549): "V",
    (1722, 0): "四",
    (-434, -1549): "W",
    (-780, 0): "场",
    (-243, 0): "X",
    (-510, -979): "Y",
    (749, 319): "天",
    (876, 0): "工",
    (-156, 0): "市",
    (-148, 0): "师",
    (322, 0): "年",
    (797, 0): "广",
    (-893, -1312): "Z",
    (165, 103): "a",
    (0, -156): "b",
    (1068, 0): "招",
    (-127, -76): "c",
    (-196, 0): "d",
    (-774, 0): "e",
    (156, -52): "政",
    (-55, 29): "f",
    (0, -614): "g",
    (-45, -386): "月",
    (-195, 0): "h",
    (0, 52): "i",
    (0, 52): "j",
    (-267, 0): "k",
    (0, 1637): "l",
    (-196, 0): "m",
    (-195, 0): "n",
    (0, 274): "o",
    (0, -665): "p",
    (-196, 0): "q",
    (-49, 35): "r",
    (148, -107): "s",
    (-64, -35): "t",
    (-197, 0): "u",
    (928, 0): "生",
    (-438, -1106): "v",
    (-330, -1106): "w",
    (-370, -557): "x",
    (-502, -1273): 'y',
    (992, 0): "程",
    (1294, 0): "端",
    (118, 62): "网",
    (-918, 0): "z",
    (76, 12): "联",
    (62, 10): "聘",
    (1266, 0): "行",
    (582, 0): "计",
    (0, 138): "设",
    (610, 0): "财",
    (244, 0): "软",
    (102, -116): "银",
}